def cal_power(x,n):
    if n == 0:
        return 1
    return x * cal_power(x,n-1)
result = cal_power(2,3)
print(result)
